package mobi.bantu.dao.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import mobi.bantu.bean.SecUser;


/**
 * Created by qiao on 2017/5/3.
 */
@Mapper
public interface SecUserMapper {
    List<SecUser> list(Map<String, Object> param);

    int count(Map<String, Object> param);

    SecUser getByname(@Param("username") String username);

    int delete(@Param("id") Long id);

    int create(SecUser user);

    SecUser get(Long id);

    int update(SecUser user);
}
